<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:p="http://primefaces.org/ui"
                template="./template.xhtml">

    <ui:define name="head">
        <style type="text/css">
            .value {
                width: 1000px;
            }
        </style>
    </ui:define>
    
    <ui:define name="title">
        Schedule - <span class="subitem">Lazy</span>
    </ui:define>

    <ui:define name="description">
        Schedule assumes whole set of events are eagerly provided in ScheduleModel, if you have a huge data set of events, lazy loading features would help to improve performance.<br/>
        In lazy loading mode, only the events that belong to the displayed time frame are fetched whereas in default eager more all events need to be loaded.
    </ui:define>

    <ui:param name="documentationLink" value="/components/schedule" />

    <ui:define name="implementation">

        <h:form>
            <p:growl id="messages" showDetail="true" />
     
            <h:panelGrid columnClasses="value">
                <p:schedule value="#{scheduleJava8View.lazyEventModel}" />
            </h:panelGrid>
        </h:form>
        
    </ui:define>

</ui:composition>
